﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="equipment_add66.aspx.cs" Inherits="HYSoft.Web.equipment_add66" %>

<%@ Register Src="~/Controls/menuhoutai.ascx" TagName="menushou" TagPrefix="uc1" %>
<%@ Register Src="~/Controls/Search.ascx" TagName="searchs" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/equipmentadd.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
    <uc1:menushou ID="menushout" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
    <div class="main">
        <div style=" float:left;">
            <img src="Images/top.PNG" />
        </div>
        <div class="part_wss">
            <div class="part_ws_bt1">
                添加基站节点</div>
            <div class="part_a1">
                <div class="part_7">
                    <div class="part_7_left">
                        <table width="95%" border="0" align="right" cellpadding="0" cellspacing="0" style="margin-top: 10px;
                            height: 217px;">
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    传感器类型：
                                </td>
                                <td class="style3">
                                    <asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged" Width="155">
                                       
                                    </asp:DropDownList>
                                    <b style="color: red">*</b>
                                </td>
                                <td style="text-align: left; width: 86px">
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    监测员：
                                </td>
                                <td colspan="2">
                                    <asp:DropDownList ID="DropDownList12" runat="server" Width="155">
                                    </asp:DropDownList>
                                    <b style="color: red">*</b>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="本单位没有已审批的普通用户！"
                                        ControlToValidate="DropDownList12"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">硬件地址<br />
                                        (MAC值)：</span>
                                </td>
                                <td colspan="2">
                                    <b style="color: red">
                                        <asp:DropDownList ID="DropDownList13" runat="server" Width="155">
                                        </asp:DropDownList>
                                        *</b><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="本单位已无未分配的此类传感器mac！"
                                            ControlToValidate="DropDownList13"></asp:RequiredFieldValidator>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    手机卡号：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox16" />
                                    <%--<asp:TextBox ID="TextBox16" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator11" runat="server" ControlToValidate="TextBox16"
                                        ErrorMessage="请输入正确手机卡号" ValidationExpression="^1[358]\d{9}$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    安装地址：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox17" />
                                 <%--   <asp:TextBox ID="TextBox17" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator3" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox17"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    所属监测点：
                                </td>
                                <td colspan="2">
                                    <asp:DropDownList ID="DropDownList2" runat="server" Width="155">
                                    </asp:DropDownList>
                                    <b style="color: red">*</b> &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计报警长度<span class="style1" style="text-align: left; width: 92px;">(mm)</span>：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox20" />
                                    <%--<asp:TextBox ID="TextBox20" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator20" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox20"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移增幅(mm)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox21" />
                                   <%-- <asp:TextBox ID="TextBox21" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator21" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox21"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    供电模式：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox4" value="电池" />
                                    <%--<asp:TextBox ID="TextBox4" runat="server" Text="电池"></asp:TextBox>--%>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计初值(mm)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox13" />
                                 <%--   <asp:TextBox ID="TextBox13" runat="server" Text="0"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator13" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox13"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计当前时间间隔(1~72小时)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox14" />
                                    <%--<asp:TextBox ID="TextBox14" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator12" runat="server" ControlToValidate="TextBox14"
                                        ErrorMessage="位移计时间间隔值应为1-72小时" ValidationExpression="(^(7[0-2]|[1-6][0-9]|[1-9])$)"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计阀值1(<100mm)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox1" />
                                  <%--  <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>--%><b style="color: red">*</b>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox1"
                                        ErrorMessage="阀值应小于100mm,且两位小数" ValidationExpression="^([1-9]\d?(\.\d{1,2})?|0\.\d{1,2}|100)$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计最大时间间隔(1~72小时)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox3" />
                                    <%--<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox3"
                                        ErrorMessage="位移计时间间隔值应为1-72小时" ValidationExpression="(^(7[0-2]|[1-6][0-9]|[1-9])$)"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计阀值2(<100mm)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox5" />
                                   <%-- <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox5"
                                        ErrorMessage="阀值应小于100mm,且两位小数" ValidationExpression="^([1-9]\d?(\.\d{1,2})?|0\.\d{1,2}|100)$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计时间间隔2(1~72小时)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox6" />
                                    <%--<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator4" runat="server" ControlToValidate="TextBox6"
                                        ErrorMessage="位移计时间间隔值应为1-72小时" ValidationExpression="(^(7[0-2]|[1-6][0-9]|[1-9])$)"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计阀值3(<100mm)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox7" />
                                   <%-- <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator5" runat="server" ControlToValidate="TextBox7"
                                        ErrorMessage="阀值应小于100mm,且两位小数" ValidationExpression="^([1-9]\d?(\.\d{1,2})?|0\.\d{1,2}|100)$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计时间间隔3(1~72小时)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox8" />
                                   <%-- <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator6" runat="server" ControlToValidate="TextBox8"
                                        ErrorMessage="位移计时间间隔值应为1-72小时" ValidationExpression="(^(7[0-2]|[1-6][0-9]|[1-9])$)"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计阀值4(<100mm)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox9" />
                                   <%-- <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator7" runat="server" ControlToValidate="TextBox9"
                                        ErrorMessage="阀值应小于100mm,且两位小数" ValidationExpression="^([1-9]\d?(\.\d{1,2})?|0\.\d{1,2}|100)$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计时间间隔4(1~72小时)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox10" />
                                   <%-- <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>--%><b style="color: red">*</b>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ControlToValidate="TextBox10"
                                        ErrorMessage="位移计时间间隔值应为1-72小时" ValidationExpression="(^(7[0-2]|[1-6][0-9]|[1-9])$)"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计阀值5(<100mm)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox11" />
                                   <%-- <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>--%><b style="color: red">*</b>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator9" runat="server" ControlToValidate="TextBox11"
                                        ErrorMessage="阀值应小于100mm,且两位小数" ValidationExpression="^([1-9]\d?(\.\d{1,2})?|0\.\d{1,2}|100)$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    位移计最小时间间隔(1~72小时)：
                                </td>
                                <td colspan="2">
                                <input type="text" runat="server" id="TextBox12" />
                                    <%--<asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>--%><b style="color: red">*</b>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator10" runat="server"
                                        ControlToValidate="TextBox12" ErrorMessage="位移计时间间隔值应为1-72小时" ValidationExpression="(^(7[0-2]|[1-6][0-9]|[1-9])$)"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="part_7_right">
                        <img src="defaultimg/Displacementmeter.jpg" width="320" height="240" />
                        <br />
                        &nbsp;&nbsp;&nbsp;&nbsp;安装照片：<asp:FileUpload ID="FileUpload1" runat="server" />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="part_7_w2">
                    <table>
                        <tr>
                            <td>
                                <div>
                                </div>
                                <div>
                                    <asp:Label ID="strStatus" runat="server" Font-Names="宋体" Font-Bold="True" Font-Size="9pt"
                                        Width="300" BorderStyle="None" BorderColor="White"></asp:Label>
                                </div>
                                <div style="padding: 10px 0">
                                    <asp:Button runat="server" Text="增加传感器" ID="Button1" OnClick="Button1_Click"></asp:Button>&nbsp;
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <br />
                <div class="clear" style="background: #eaebef;">
                </div>
            </div>
            <div class="part_7_3">
                <img src="images/p_2.jpg" style="width: 850px;" />
                <uc3:searchs ID="searchs" runat="server" /></div>
        </div>
        <div style="width:100%;height:150px;"></div>
    </div>
</asp:Content>
